#include "client.hpp"
#include <memory>

void usage(const std::string& proc)
{
    std::cout << "Usage\n\t" << proc << " server_ip server_port" << std::endl;
}

// ./udp_client server_ip server_port
int main(int argc, char* argv[])
{
    if (argc != 3)
    {
        usage(argv[0]);
        exit(CMD_ERR);
    }
    std::string sip = argv[1];
    uint16_t sport = std::stoi(argv[2]);

    std::unique_ptr<udp::udp_client> ucli(new udp::udp_client(sip, sport));

    return 0;
}
